package com.generator.purchaseManage.manufacturerManage.dao;

import com.generator.statics.manufacturerPurchaseStatics.pojo.City1;
import com.generator.statics.manufacturerPurchaseStatics.pojo.Province1;
import com.generator.purchaseManage.manufacturerManage.pojo.*;
import com.generator.util.PageModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface manufacturerManageDao {

    // 查询所有厂商管理信息
    public List<CFirmManuConn> getAllManuManagement(CFirmManu purchase);

    // 查询所有厂商管理信息（分页）
    public PageModel<CFirmManuConn> getAllManuManagement(CFirmManu purchase, PageModel<CFirmManuConn> pageModel);

    // 查询单个厂商管理信息
    public CFirmManuConn getOneManuManagement(CFirmManuConn conn);

    // 修改单个厂商管理信息
    public int updateManuManagement(CFirmManuConn user);

    // 删除厂商管理信息
    public int deleteManuManagement(String ids);

    // 查询省份
    public String queryProvince(Province1 province);

    // 查询市
    public String queryCity(City1 city1);

    // 添加厂商管理信息
    public int addManuManagement(CFirmManuConn conn);

    //    厂商管理信息分类查询
    public List<CFirmManuConn> vagueManufacturerSelect(CFirmManuConn conn);

    //    厂商管理信息分类查询（分页）
    public PageModel<CFirmManuConn> vagueManufacturerSelect(CFirmManuConn conn, PageModel<CFirmManuConn> pageModel);


}
